package work1.work2.tv;

public class TV {
     String brand;
     double size;

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public double getSize() {
        return size;
    }
    TV(){

    }
    void TV(String brand,double size){
        this.brand=brand;
        this.size=size;
    }
    void output(){
        System.out.println(brand+" "+size);
    }
}
